package tsing.javase.javaweb.filter;

import org.springframework.web.context.request.WebRequestInterceptor;
import org.springframework.web.servlet.DispatcherServlet;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author Tsing/吴清平
 * @Date 2022/10/12 10:23
 * @Version 1.0
 * SpringMVC自定义拦截器
 *
 * HandlerInterceptorAdapter ：官方定义已过期
 * WebRequestHandlerInterceptorAdapter
 *
 */
public class MVCIntercepterDemo2 extends WebRequestHandlerInterceptorAdapter {


    public MVCIntercepterDemo2(WebRequestInterceptor requestInterceptor) {
        super(requestInterceptor);
    }

}
